<!DOCTYPE html>
<html>

	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<meta content="telephone=no" name="format-detection" />
		<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1.0,user-scalable=no,viewport-fit=cover" />

		<meta charset="utf-8">
		<script type="text/javascript" src="js/boot.js"></script>
		<title>我的证件</title>
	</head>

	<body>
		<div id="page">
			<div class="navbar">
				<img class="navbar-left arrow" src="image/8_2fanhui.png" onclick="javascript:history.back();">
				<div class="nav-title">
				</div>
			</div>
			<div class="content">
				<div class="card-cell van-hairline--bottom" v-for="user in list">
					{{user.postName}}
					<span class="cell-text">{{user.enterTime}}</span>
				</div>
			</div>
		</div>
	</body>

	<script type="text/javascript">
		var str = localStorage.getItem('user');
		var user = JSON.parse(str);
		var app = new Vue({
			el: '#page',
			data: {
				list: []
			},
			methods: {},
			created() {
				var that = this;
				http.get("/user/cert/getCert.do?workNo=" + user.workNo, function(page) {
					if(page.success) {
						that.list = page.data;
						// alert(user);
					}
				});
			}
		});
	</script>

</html>